from Game import Game

from chess.chess import Chess
from player.ComparePlayer import ComparePlayer

if __name__ == '__main__':
    chess = Chess()
    # 文心一言
    # white_player = ERNIEBotPlayer()

    # 通义千问
    # black_player =QwenPlayer("your_api_key")

    white_player = ComparePlayer(chess.get_ai_board())  # 使用mcs模型需要特定的ai棋盘
    black_player = ComparePlayer(chess.get_ai_board())
    game = Game(white_player, black_player, chess)
    game.play()
